/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/layout'

const studentRouter = {
  path: '/charts',
  component: Layout,
  redirect: 'student',
  name: 'student',
  meta: {
    title: '学员',
    icon: 'el-icon-s-tools'
  },
  children: [
    {
      path: 'keyboard',
      component: () => import('@/views/student/keyboard'),
      name: 'KeyboardChart',
      meta: { title: '学员列表', noCache: true }
    },
    {
      path: 'line',
      component: () => import('@/views/student/line'),
      name: 'LineChart',
      meta: { title: '批量开通学员', noCache: true }
    },
  ]
}

export default studentRouter
